<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>01-mustache语法</title>
  <style>
    [v-cloak] {
      display: none;
    }
  </style>
</head>

<body>
  <div id="app" v-cloak>
    <h2>{{message}}</h2>
    <h2>{{firstName + '' + lastName}}</h2>
    <h2>{{count*2}}</h2>
  </div>
  <script src="../js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        message: 'hello Vue',
        firstName: 'hello',
        lastName: '你好啊',
        count: 100
      }
    })
  </script>
  <style>

  </style>

</body>

</html>